
form method = 'get'
  .panel.panel-default
    .panel-heading
      = link_to "新增" , new_customer_path, class: "btn btn-primary btn-xs"
    .panel-body
      == grid(@tasks_grid, show_filters: :always) do |g|  
	    -g.column name: '级别', attribute: 'name', assoc: :customer_level
	    -g.column name: '姓名', attribute: 'name'
	    -g.column name: '电话', attribute: 'phone'
	    -g.column name: '车牌号', attribute: 'car_num'
	    -g.column name: '车型', attribute: 'car_mo'
	    -g.column name: '颜色', attribute: 'car_colour'
	    -g.column name: '车架号', attribute: 'car_fnum'
	    -g.column name: '发动机号', attribute: 'car_enum'
	    -g.column do |c| grid_operator(:customer_path, c.id, do_show=true, do_edit=true, do_delete=true) end  

	     
	    




                

          